#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -*- mode: python -*-

from flup.server.fcgi_fork import WSGIServer

from twictures import handler

wsgi_opts = { 'bindAddress': ('127.0.0.1', 8000),
                 'maxSpare': 5,
                 'minSpare': 2,
                 'maxChildren': 50,
                 'maxRequests': 0 }

WSGIServer(handler, **wsgi_opts).run()
